<? include ('librerias.php');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Autos Y Refacciones</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<?=fancybasic();?>
<script language="javascript">
function esto()
	{
	location.href = "resultados.php";
	}
</script>
</head>
<body>
<?
if($_REQUEST['bar'] == 'active')
	{ 
	$elfrente = '
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr><td width="50%" align="left" style="vertical-align:top"><a href="index.php?bar=inactive"><strong>Ocultar barra de men&uacute;</strong></a></td>
		<td width="50%" align="right" style="vertical-align:top" class="blue12" ><span class="black12">¿Eres particular o tienes empresa?</span> <strong><a id="tipocte" href="tipocte.php">Anunciate gratis</a> | <a id="login" href="login.php">Acceder</a></strong></td>
	</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr><td width="18%" height="40" class="confondo">&nbsp;</td>
		<td width="82%" height="40" class="confondo enblanco" style="vertical-align:middle">
        <img src="imagenes/backbluedark.jpg" width="1" height="20" style="vertical-align:middle" />&nbsp;
        <a id="bienvenido" href="bienvenido.php" class="enblanco">Bienvenido</a>&nbsp;
        <img src="imagenes/backbluedark.jpg" width="1" height="20" style="vertical-align:middle"  />&nbsp;
        <a href="empresa.php" class="enblanco">Nosotros</a>&nbsp;
        <img src="imagenes/backbluedark.jpg" width="1" height="20" style="vertical-align:middle"  />&nbsp;
        <a href="chicasayr.php" class="enblanco">Chicas AyR</a>&nbsp;
        <img src="imagenes/backbluedark.jpg" width="1" height="20" style="vertical-align:middle"  />&nbsp;
        <a href="contactanos.php" class="enblanco">Comentarios</a>&nbsp;
        <img src="imagenes/backbluedark.jpg" width="1" height="20" style="vertical-align:middle"  /></td></tr>
		</table>';
	} 

else
	{
	$elfrente = '
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr><td width="50%" align="left" style="vertical-align:top"><a href="index.php?bar=active"><strong>Mostrar barra de men&uacute;</strong></a></td>
		<td width="50%" align="right" style="vertical-align:top" class="blue12" ><span class="black12">¿Eres particular o tienes empresa?</span> <strong><a id="tipocte" href="tipocte.php">Anunciate gratis</a> | <a id="login" href="login.php">Acceder</a></strong></td>
	</tr>
	<tr><td colspan="2" height="40">&nbsp;</td></tr>
</table>';
} ?>
<?=$elfrente;?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr><td>&nbsp;</td></tr>
	<tr><td align="center"><img src="imagenes/logo_principal2.jpg" width="300" height="114" /></td></tr>
	<tr><td>
    	<form action="resultados.php" method="get"><table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
	        <tr><td class="gray12" align="right">&nbsp;</td></tr>
	        <tr><td class="gray12" align="center"><span style="vertical-align:top"><input name="cadena" type="text" class="cajas" id="cadena" /></span></td></tr>
	        <tr><td class="gray12" align="right">&nbsp;</td></tr>
	        <tr><td class="gray12" align="center"><span style="vertical-align:top"><input name="buscar" type="submit" class="btn2" id="buscar" value="" /></span></td></tr>
	        <tr><td class="gray12" align="right">&nbsp;</td></tr>
	        <tr><td class="gray12" align="right">&nbsp;</td></tr>
			<tr><td class="gray12" align="center">&nbsp;</td></tr>
			<tr><td class="gray12" align="center">&nbsp;</td></tr>
		</table>
   	  </form></td></tr>
</table>
<div class="alfinal" style="width:100%;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
      <td width="88%" height="30" class="gray12" style="vertical-align:bottom">&copy;&nbsp;autosyrefacciones.com 2011.</td>
      <td width="12%" class="gray12"><img src="imagenes/nuevo_front.jpg" width="254" height="274" /></td>
    </tr>
</table>
</div>
</body>
</html>